﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MainSite.master" AutoEventWireup="false" CodeFile="custServices.aspx.vb" Inherits="custServices" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
    Page.Init = function () {
        $("#menuLogin").addClass("active");
        Page.RegForm = $(".iframe").fancybox({
            'transitionIn': 'elastic',
            'transitionOut': 'elastic',
            'speedIn': 600,
            'speedOut': 200,
            'overlayShow': false,
            height: 340,
            overlayShow: true,
            overlayOpacity: 0.2
        });
    }
    Page.RegForm = null;
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="article">
    <div class="sidebarHeader">My registared services</div>
    <% If OneCall.User.Subscription.isSubscribed(CurrAuth.GetUserID(), 1) = True Then%>
    <div class="myservciebox">
        <div class="myserviceheader">Home maintenance</div>
        <div class="myservicedates"><%= UserSubs1.StartDate%> to <%= UserSubs1.EndDate%></div>
        <!--<div><input type="button" value="Request service" /></div> -->
        <a class="iframe" href="RequestServiceTicket.aspx">Request a service</a>
    </div>
    <% End If%>
</div>

</asp:Content>

